package com.wyman.test.aop;

import com.wyman.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @Author 李伟民
 * @Description
 * @DateTime 2024/12/29 01:43
 */
public class UserServiceBeforeAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("前置拦截了方法:" + method.getName());
    }
}
